﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class FormChinhDTO
    {
        private int maHoaDon;

        public int MaHoaDon
        {
            get { return maHoaDon; }
            set { maHoaDon = value; }
        }
        private string ngay;

        public string Ngay
        {
            get { return ngay; }
            set { ngay = value; }
        }
        private int maBan;

        public int MaBan
        {
            get { return maBan; }
            set { maBan = value; }
        }
        private int maNV;

        public int MaNV
        {
            get { return maNV; }
            set { maNV = value; }
        }
        private string tenKhach;

        public string TenKhach
        {
            get { return tenKhach; }
            set { tenKhach = value; }
        }
        private double tongtien;

        public double Tongtien
        {
            get { return tongtien; }
            set { tongtien = value; }
        }
        private int buoi;

        public int Buoi
        {
            get { return buoi; }
            set { buoi = value; }
        }
        private int maMon;

        public int MaMon
        {
            get { return maMon; }
            set { maMon = value; }
        }
        private int soLuong;

        public int SoLuong
        {
            get { return soLuong; }
            set { soLuong = value; }
        }
        private double thanhTien;

        public double ThanhTien
        {
            get { return thanhTien; }
            set { thanhTien = value; }
        }

        private int maChiTietHoaDon;

        public int MaChiTietHoaDon
        {
            get { return maChiTietHoaDon; }
            set { maChiTietHoaDon = value; }
        }
        public FormChinhDTO(int _mahoadon)
        {
            MaHoaDon = _mahoadon;
        }
        public FormChinhDTO(int _mahoadon,int _machitiethoadon)
        {
            MaHoaDon = _mahoadon;
            MaChiTietHoaDon = _machitiethoadon;
        }
        public FormChinhDTO(string _ngay)
        {
            Ngay = _ngay;
        }
        public FormChinhDTO(string _ngay,int _maBan,int _maNV,string _tenKhach,double _tongtien,int _buoi)
        {
            Ngay = _ngay;
            MaBan = _maBan;
            MaNV = _maNV;
            TenKhach = _tenKhach;
            Tongtien = _tongtien;
            Buoi = _buoi;
           
        }
        public FormChinhDTO(int _mahoadon, int _maMon, int _soLuong, double _thanhTien)
        {
            MaHoaDon = _mahoadon;
            MaMon = _maMon;
            SoLuong = _soLuong;
            ThanhTien = _thanhTien;
        }
        public FormChinhDTO(int _machitiethoadon,int _mahoadon, int _maMon, int _soLuong, double _thanhTien)
        {
            MaChiTietHoaDon = _machitiethoadon;
            MaHoaDon = _mahoadon;
            MaMon = _maMon;
            SoLuong = _soLuong;
            ThanhTien = _thanhTien;
        }
    }
}
